package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * 展商和产品关系表
 * @author jinxiaozhang
 *
 */
public class OrganizationProductServiceRel implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -256224367629570366L;
	private String id;
	private Contract contract;
	private Organization organization;
	private ProductService productService;
	private ExhibitorType exhibitorType;
	private Business business;
	private Hall hall;
	private OrganizationContract organizationContract;
	private String booth;
	private Integer number;
	private String discount;
	private String discountReason;
	private String money;//含税总价
	private String description;
	private Integer type;//产品类型
	private String name;//产品名称
	private String unit;//单位
	private String price;//单价
	private String currency;//货币类型
	private String squareFootage;//面积
	private Timestamp createdStamp;
	private Double cess;
	private Double cessPrice;
	private String cessTotalPrice;//总税额
	private String totalPrice;//总净价
	/** 意向展位 */
	private String intentBooth;
	/** 目标展馆  */
	private String targetBooth;
	/**	目标展位 */
	private String targetHall;
	/** 目标展位类型  */
	private String targetBoothType;
	/** 是否自动申请展位 */
	private Integer autoApply;//0:不发送 1:自动发送2:不需要自动申请
	/** 展位申请分配状态 */
	private Integer boothStatus;//0:未申请分配  1:已申请分配  2:已分配
	/** 展位调整状态 */
	private Integer adjustStatus;//0:未申请调整 1:已申请调整 2:已调整
	/** 展位是否腾空  */
	private Integer emptyStatus;//0:未申请腾空  2:已腾空
	/** 展位分配申请时间 */
	private Timestamp applyStamp;
	/** 调整类型 */
	private Integer adjustType;//10:调换位置   20:调整展位类型
	/** 开口 */
	private Integer openGate;//10:单开口 20:双开口 30:三开口 40:四开口
	
	
	private Set<Booth> booths=new HashSet<Booth>();
	private Set<ProductServiceAdjustRecord> productServiceAdjustRecords=new HashSet<ProductServiceAdjustRecord>();
	
	
	public Set<ProductServiceAdjustRecord> getProductServiceAdjustRecords() {
		return productServiceAdjustRecords;
	}
	public void setProductServiceAdjustRecords(Set<ProductServiceAdjustRecord> productServiceAdjustRecords) {
		this.productServiceAdjustRecords = productServiceAdjustRecords;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Contract getContract() {
		return contract;
	}
	public void setContract(Contract contract) {
		this.contract = contract;
	}
	public Organization getOrganization() {
		return organization;
	}
	public void setOrganization(Organization organization) {
		this.organization = organization;
	}
	public ProductService getProductService() {
		return productService;
	}
	public void setProductService(ProductService productService) {
		this.productService = productService;
	}
	public ExhibitorType getExhibitorType() {
		return exhibitorType;
	}
	public void setExhibitorType(ExhibitorType exhibitorType) {
		this.exhibitorType = exhibitorType;
	}
	public Business getBusiness() {
		return business;
	}
	public void setBusiness(Business business) {
		this.business = business;
	}
	public Hall getHall() {
		return hall;
	}
	public void setHall(Hall hall) {
		this.hall = hall;
	}
	public OrganizationContract getOrganizationContract() {
		return organizationContract;
	}
	public void setOrganizationContract(OrganizationContract organizationContract) {
		this.organizationContract = organizationContract;
	}
	public String getBooth() {
		return booth;
	}
	public void setBooth(String booth) {
		this.booth = booth;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public String getDiscount() {
		return discount;
	}
	public void setDiscount(String discount) {
		this.discount = discount;
	}
	public String getDiscountReason() {
		return discountReason;
	}
	public void setDiscountReason(String discountReason) {
		this.discountReason = discountReason;
	}
	public String getMoney() {
		return money;
	}
	public void setMoney(String money) {
		this.money = money;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getCurrency() {
		return currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	public String getSquareFootage() {
		return null!=squareFootage?squareFootage:"0";
	}
	public void setSquareFootage(String squareFootage) {
		this.squareFootage = squareFootage;
	}
	public Double getCess() {
		return cess;
	}
	public void setCess(Double cess) {
		this.cess = cess;
	}
	public Double getCessPrice() {
		return cessPrice;
	}
	public void setCessPrice(Double cessPrice) {
		this.cessPrice = cessPrice;
	}
	public String getCessTotalPrice() {
		return cessTotalPrice;
	}
	public void setCessTotalPrice(String cessTotalPrice) {
		this.cessTotalPrice = cessTotalPrice;
	}
	public String getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(String totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Set<Booth> getBooths() {
		return booths;
	}
	public void setBooths(Set<Booth> booths) {
		this.booths = booths;
	}
	public String getIntentBooth() {
		return intentBooth;
	}
	public void setIntentBooth(String intentBooth) {
		this.intentBooth = intentBooth;
	}
	public Integer getBoothStatus() {
		return boothStatus;
	}
	public void setBoothStatus(Integer boothStatus) {
		this.boothStatus = boothStatus;
	}
	public Integer getAdjustStatus() {
		return adjustStatus;
	}
	public void setAdjustStatus(Integer adjustStatus) {
		this.adjustStatus = adjustStatus;
	}
	public Integer getEmptyStatus() {
		return emptyStatus;
	}
	public void setEmptyStatus(Integer emptyStatus) {
		this.emptyStatus = emptyStatus;
	}
	public Integer getAutoApply() {
		return autoApply;
	}
	public void setAutoApply(Integer autoApply) {
		this.autoApply = autoApply;
	}
	public Timestamp getApplyStamp() {
		return applyStamp;
	}
	public void setApplyStamp(Timestamp applyStamp) {
		this.applyStamp = applyStamp;
	}
	public Integer getAdjustType() {
		return adjustType;
	}
	public void setAdjustType(Integer adjustType) {
		this.adjustType = adjustType;
	}
	public String getTargetBooth() {
		return targetBooth;
	}
	public void setTargetBooth(String targetBooth) {
		this.targetBooth = targetBooth;
	}
	public String getTargetHall() {
		return targetHall;
	}
	public void setTargetHall(String targetHall) {
		this.targetHall = targetHall;
	}
	public String getTargetBoothType() {
		return targetBoothType;
	}
	public void setTargetBoothType(String targetBoothType) {
		this.targetBoothType = targetBoothType;
	}
	public Integer getOpenGate() {
		return openGate;
	}
	public void setOpenGate(Integer openGate) {
		this.openGate = openGate;
	}
	
}
